import { axios } from "./axios"

const login = (data: any) => {
    return axios({
        url: "/api/auth/login",
        method: "post",
        data
    })
}

const register = (data: any) => {
    return axios({
        url: "/api/auth/register",
        method: "post",
        data
    })
}


export { login, register }